using System;
using System.Collections.Generic;
using System.Text;

namespace Kontakter
{
    public class Friend
    {
        private string name = "";
        
        private string urlimage = "";

        // true = online, false = offline
        private bool status = false;

        private int newMessages = 0;

        private int prevNewMessages = 0;

        public Friend(string name_, bool status_, string urlimage_)
        {
            name = name_;
            status = status_;
            urlimage = urlimage_;
        }

        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
            }
        }

        public string Urlimage
        {
            get
            {
                return urlimage;
            }

            set
            {
                urlimage = value;
            }
        }

        public bool Status
        {
            get
            {
                return status;
            }

            set
            {
                status = value;
            }
        }

        public int NewMessages
        {
            get
            {
                return newMessages;
            }

            set
            {
                newMessages = value;
            }
        }

        public int PrevNewMessages
        {
            get
            {
                return prevNewMessages;
            }

            set
            {
                prevNewMessages = value;
            }
        }
    }
}
